import Index from '@/views/index/index.vue'
import Search from '@/views/index/search.vue';





const routes = [
    {
        path: '/',
        name: 'index',
        component: Index
    },
    {
        path: '/search',
        name: 'search',
        component: Search
    },
    {
        path: '*',
        redirect: '/'
    }
];

export default routes;
